/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.student.tp3assignment2.lspviolate.Impl;

import com.student.tp3assignment2.lspviolate.Rectangle;

/**
 *
 * @author Student
 */
public class RectangleImpl implements Rectangle {

    int tWidth, tLength;

    public RectangleImpl()
    {}

    public void SetWidth(int width)
    {
    	tWidth = width;
    }

    public int GetWidth()
    {
    	return tWidth;
    }

    public void SetLength(int length)
    {
    	tLength = length;
    }

    public int GetLength()
    {
    	return tLength;
    }

    public int GetArea()
    {
    	return tWidth * tLength;
    }

}
